/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------+
| THEME: Ferrari
+----------------------------------------------------+
| Copyright © 2005 Nichelini Giuseppe
| http://www.nichelini.it/
+----------------------------------------------------*/
// theme settings
$body_text = "#cccccc";
$body_bg = "#485f5c";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";
if (SEL_LANG == "English") { $mydate = "%A, %B %d, %Y"; } else { $mydate = "%A, %d %B %Y"; }
function render_header($header_content) {
global $theme_width,$settings,$locale,$mydate;
$result = dbquery("SELECT * FROM ".DB_PREFIX."sponsor");
(dbrows($result)==0)?($n=0):($n=dbrows($result));
srand ((double) microtime() * 1000000);
$zlink = rand(1,$n);
$result = dbquery("SELECT * FROM ".DB_PREFIX."sponsor WHERE sponsor_id='$zlink'");
$data = dbarray($result);
$myhead = "";
echo "
|
![]() | \n";
echo "".$subject." | \n"; echo "![]() | \n";
echo "
\n";
echo "
|
![]() | \n";
echo "".$subject." | \n"; echo "![]() | \n";
echo "
\n";
echo "
|
![]() |
$title | ![]() |
\n"; } // close the table function closetable() { echo " |
![]() | \n"; } function closeside() { echo " |
![]() |
![]() |
\n";
}
function closesidex() {
echo " |